#ifndef _STRAWGUI_FONT_RESOURCE_H_
#define _STRAWGUI_FONT_RESOURCE_H_

#include "sResource.h"
#include "sConfig.h"
#include "sNamedObjectContainer.h"

namespace sgui
{
namespace res
{    
	class sFontResource : public sResource
	{
	public:
		static const std::wstring RESOURCE_NAME;
	public:
		void load(const db::Record &file);
		void save(db::Record &file) const;
        void clear();
        
        preset::sPreset* getPreset(const std::wstring& name);
        const std::wstring getClass() const { return RESOURCE_NAME; };

#ifdef _EDITOR
		void exportRTTI(rtti::sInfoList& list);
#endif

		sFontResource(sGUI&gui, const std::wstring& name);
        ~sFontResource();
	};

};
};

#endif